.index-box {
    width: 100%;
    // height: 100%;
    min-height: 100%;
    background: url('../img/bg2.jpg') no-repeat;
    background-size: cover;
    display: flex;
    margin: 0;
    .screen-lg{
        display: block;
        width: 100%;
    }
    .screen-md {
        display: none;
    }
    .message-box {
        // padding: 0 20px;
        box-sizing: border-box;
        padding: 0 6%;
        height: 50%;
        width: 100%;
        .one-box {
            width: 100%;
        }
        .table-box {
            width: 100%;
            max-height: 200px;
            overflow-y: auto;
        }
        .table-box::-webkit-scrollbar {/*滚动条整体样式*/
            width: 4px;     /*高宽分别对应横竖滚动条的尺寸*/
            height: 1px;
        }
        .table-box::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
                border-radius: 10px;
                -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.4);
                background: #535353;
            }
        .table-box::-webkit-scrollbar-track {/*滚动条里面轨道*/
            -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
            border-radius: 10px;
            background: #EDEDED;
        }
        .news-list {
            .one.th {
                font-size: 18px;
                font-weight: 700;
                border-bottom: 2px solid #bbb;
            }
            .one {
                display: flex;
                padding: 8px 0;
                font-size: 16px;
                font-weight: lighter;
                border-bottom: 1px solid #ccc;
                cursor: pointer;
                .id {
                    width: 40px;
                }
                .title {
                    flex: 3;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
                .time {
                    flex: 1
                }
            }
        }
    }
    .time-box {
        height: 140px;
        display: flex;
        // padding: 20px;
        width: 400px;
        box-sizing: border-box;
        position: absolute;
        left: 60px;
        bottom: 0;
        .time {
            height: 100%;
            width: 50%;
            text-align: right;
            color: #fff;
            font-size: 80px;
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }
        .date {
            color: #fff;
            font-size: 16px;
            padding-left: 20px;
            p {
                height: 50%;
                &:first-child {
                    display: flex;
                    justify-content: center;
                    align-items: flex-end;
                    margin: 0;
                }
            }
        }
    }
    .menu-box {
        // height: 100%;
        
        box-sizing: border-box;
        // display: flex;
        // flex-wrap: wrap;
        // width: 80%;
        // margin: auto;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        padding: 0 12%;
        margin-top: 20px;
        padding-top: 148px;
        .menu-one {
            // width: 32%;
            // background-repeat:no-repeat;
            // background-position: center 66px;
            // text-align: center;
            // margin-right: 2%;
            // margin-bottom: 10px;
            // cursor: pointer;
            width: 32%;
            background-repeat:no-repeat;
            background-position: center 66px;
            text-align: center;
            margin-right: 2%;
            margin-bottom: 10px;
            cursor: pointer;
            padding: 6% 4%;
            &:nth-of-type(3n) {
                margin-right: 0;
            }
            .menu-img {
                display: block;
                margin: auto;
                width: 50px;
                height: 50px;
            }
            .title {
                color: #fff;
                font-size: 24px;
                display: inline-block;
                margin: auto;
            }
        }
    }
    .welcome-box {
        height: 100%;
        background-color: rgba(255,255,255,.2);
        padding: 0;
        .head-img {
            display: flex;
            height: 170px;
            padding-top: 40px;
            box-sizing: border-box;
            .img {
                width: 50%;
                text-align: right;
                img {
                    width: 80px;
                    height: 80px;
                    margin-right: 10px;
                    border-radius: 50%;
                }
            }
            .name {
                flex: 1;
                height: 80px;
                color: #fff;
                font-size: 16px;
                margin: 0 0 0 10px;
                p {
                    height: 40px;
                    width: 100%;
                    padding: 0;
                    margin: 0;
                    &:first-child {
                        line-height: 60px;
                    }
                }
            }
        }
        
    }
    .con-box {
        flex: 1;
        height: 100%;
        position: relative;
        overflow-y: auto;
        .logout {
            text-align: right;
            font-size: 20px;
            color: #fff;
            padding: 60px;
            height: 148px;
            position: absolute;
            width: 100%;
        }
        
    }
    .tips-box {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10000;
        background-color: rgba(0,0,0,.5);
        display: flex;
        justify-content: center;
        align-items: center;
        // display: none;
        .tips {
            padding: 10px 20px;
            border-radius: 8px;
            background-color: #666;
            color: #fff;
        }
    }
}

@media screen and (max-width: 1200px) {
    .index-box .welcome-box .time-box .time {
        font-size: 60px;
    }
    #index .menu-box {
        padding-left: 6%;
        padding-right: 6%;
    }
}

@media screen and (max-width: 992px) {
    #index {
        width: 100%;
        height: auto;
        background: url(../img/bg2.jpg) no-repeat;
        background-size: cover;
        background-position: center;
        // overflow-y: auto;
        display: block;
        .screen-lg {
            display: none;
        }
        .screen-md {
            display: block;
            width: 100%;
        }
        .head-box {
            .head-img {
                display: flex;
                height: 25%;
                padding-top: 40px;
                box-sizing: border-box;
                position: relative;
                .img {
                    flex: 1;
                    text-align: right;
                    img {
                        width: 80px;
                        margin-right: 10px;
                    }
                }
                .name {
                    flex: 1;
                    height: 80px;
                    color: #fff;
                    font-size: 16px;
                    margin: 0 0 0 10px;
                    p {
                        height: 40px;
                        width: 100%;
                        padding: 0;
                        margin: 0;
                        &:first-child {
                            line-height: 60px;
                        }
                    }
                }
                .logout {
                    color: #fff;
                    font-size: 14px;
                    position: absolute;
                    top: 20px;
                    right: 20px;
                    cursor: pointer;
                }
            }
        }
        .menu-box {
            padding-top: 0;
            margin-top: 40px;
        }
        .message-box {
            margin-top: 20px;
        }
        .time-box{
            .time {
                font-size: 40px;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    #index {
        .menu-box {
            .menu-one {
                width: 46%;
                margin-right: 0;
                &:nth-of-type(2n+1) {
                    margin-right: 8%;
                }
                .title {
                    font-size: 20px;
                }
            }
        }
    }
}